package com.ncmmall.api.params;

import com.ncmmall.domain.business.marketing.coupon.Coupon;
import com.ncmmall.domain.business.marketing.gift.GiftActivity;
import com.ncmmall.domain.business.marketing.shoppingcard.ShoppingCardRecord;
import com.ncmmall.domain.business.shoppingcart.ShoppingCart;
import com.google.common.collect.Lists;

import java.util.List;

/**
 * @author linxs
 * @Description: 购物车
 * @Date: 2019-07-14 21:50
 */
public class MerchantShoppingCartGoodsDTO {

    private String merchantName;

    private long merchantId;

    private int goodsCount;

    private double subtotalPrice;

    private double freightPrice;

    private List<ShoppingCart> goodsList = Lists.newArrayList();

    private String warehouseAddress;

    /**
     * 是否有优惠券
     */
    private int haveCoupon;

    /**
     * 可用且已领取的优惠券列表
     */
    private List<Coupon> coupons = Lists.newArrayList();

    private List<ShoppingCardRecord> shoppingCardRecords = Lists.newArrayList();

    private List<GiftActivity> giftActivities = Lists.newArrayList();

    public int getHaveCoupon() {
        return haveCoupon;
    }

    public void setHaveCoupon(int haveCoupon) {
        this.haveCoupon = haveCoupon;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(long merchantId) {
        this.merchantId = merchantId;
    }

    public List<ShoppingCart> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<ShoppingCart> goodsList) {
        this.goodsList = goodsList;
    }

    public int getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(int goodsCount) {
        this.goodsCount = goodsCount;
    }

    public double getSubtotalPrice() {
        return subtotalPrice;
    }

    public void setSubtotalPrice(double subtotalPrice) {
        this.subtotalPrice = subtotalPrice;
    }

    public double getFreightPrice() {
        return freightPrice;
    }

    public void setFreightPrice(double freightPrice) {
        this.freightPrice = freightPrice;
    }

    public String getWarehouseAddress() {
        return warehouseAddress;
    }

    public void setWarehouseAddress(String warehouseAddress) {
        this.warehouseAddress = warehouseAddress;
    }

    public List<Coupon> getCoupons() {
        return coupons;
    }

    public void setCoupons(List<Coupon> coupons) {
        this.coupons = coupons;
    }

    public List<GiftActivity> getGiftActivities() {
        return giftActivities;
    }

    public void setGiftActivities(List<GiftActivity> giftActivities) {
        this.giftActivities = giftActivities;
    }

    public List<ShoppingCardRecord> getShoppingCardRecords() {
        return shoppingCardRecords;
    }

    public void setShoppingCardRecords(List<ShoppingCardRecord> shoppingCardRecords) {
        this.shoppingCardRecords = shoppingCardRecords;
    }
}
